home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / System 7 / Frontier / Frontier SDK 2.1.sit / Frontier SDK 2.1 / Sample Code / BarChart / BarChart.Frontier.rsrc / tabl_128 < prev   
Unknown  |  1993-06-09  |  5.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID DEGAS med-res bitmap default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 01 03 0e 00 00 15 9d | 00 00 00 8c 00 00 00 00 |........|........|
|00000010| 0d 01 00 00 00 07 00 00 | 01 53 0d 01 00 00 01 5b |........|.S.....[|
|00000020| 00 00 02 aa 0d 01 00 00 | 02 af 00 00 05 ec 0d 01 |........|........|
|00000030| 00 00 05 f8 00 00 07 66 | 0d 01 00 00 07 72 00 00 |.......f|.....r..|
|00000040| 08 eb 10 01 42 41 52 43 | 00 00 08 ee 0d 01 00 00 |....BARC|........|
|00000050| 08 f8 00 00 0a 68 0d 01 | 00 00 0a 6f 00 00 0b b8 |.....h..|...o....|
|00000060| 0d 01 00 00 0b c4 00 00 | 0c e1 0d 01 00 00 0c ed |........|........|
|00000070| 00 00 0e 0f 0d 01 00 00 | 0e 1b 00 00 0f 3b 0d 01 |........|.....;..|
|00000080| 00 00 0f 44 00 00 10 66 | 0d 01 00 00 10 6d 00 00 |...D...f|.....m..|
|00000090| 11 55 0d 01 00 00 11 62 | 06 61 64 64 42 61 72 00 |.U.....b|.addBar.|
|000000a0| 00 01 48 00 01 04 e0 00 | 02 00 00 00 0c 00 00 00 |..H.....|........|
|000000b0| c0 00 00 02 00 00 0f 06 | 47 65 6e 65 76 61 00 00 |........|Geneva..|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 09 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 06 54 00 | 00 a4 90 d9 7d a8 3b 8d |......T.|....}.;.|
|000000f0| eb 00 00 00 25 00 00 00 | 96 00 22 00 fa 02 03 4c |....%...|.."....L|
|00000100| 41 4e 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |AND.....|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 6f |........|.......o|
|00000120| 6e 20 61 64 64 42 61 72 | 20 28 6c 61 62 65 6c 2c |n addBar| (label,|
|00000130| 20 76 61 6c 75 65 29 20 | c7 61 64 64 20 61 20 6e | value) |.add a n|
|00000140| 65 77 20 62 61 72 20 74 | 6f 20 74 68 65 20 74 61 |ew bar t|o the ta|
|00000150| 72 67 65 74 20 77 69 6e | 64 6f 77 2c 20 77 69 74 |rget win|dow, wit|
|00000160| 68 20 69 6e 64 69 63 61 | 74 65 64 20 6c 61 62 65 |h indica|ted labe|
|00000170| 6c 20 61 6e 64 20 76 61 | 6c 75 65 0d 09 72 65 74 |l and va|lue..ret|
|00000180| 75 72 6e 20 28 61 70 70 | 6c 65 45 76 65 6e 74 20 |urn (app|leEvent |
|00000190| 28 42 61 72 43 68 61 72 | 74 2e 69 64 2c 20 27 42 |(BarChar|t.id, 'B|
|000001a0| 41 52 43 27 2c 20 27 61 | 62 61 72 27 2c 20 27 2d |ARC', 'a|bar', '-|
|000001b0| 2d 2d 2d 27 2c 20 73 74 | 72 69 6e 67 20 28 6c 61 |---', st|ring (la|
|000001c0| 62 65 6c 29 2c 20 27 76 | 62 61 72 27 2c 20 6c 6f |bel), 'v|bar', lo|
|000001d0| 6e 67 20 28 76 61 6c 75 | 65 29 29 29 20 20 0d 80 |ng (valu|e))) ..|
|000001e0| 00 00 00 00 00 80 00 00 | 00 00 00 07 61 70 70 49 |........|....appI|
|000001f0| 6e 66 6f 00 00 01 4b 00 | 01 03 e0 00 00 00 bd 00 |nfo...K.|........|
|00000200| 00 00 32 00 00 00 00 06 | 01 00 01 f2 94 00 00 00 |..2.....|........|
|00000210| 0e 10 01 42 41 52 43 00 | 00 00 11 0c 01 00 00 00 |...BARC.|........|
|00000220| 16 00 00 00 22 0c 01 00 | 00 00 27 00 00 00 7b 06 |...."...|..'...{.|
|00000230| 01 00 01 01 e0 0d 61 70 | 70 31 53 75 70 70 6f 72 |......ap|p1Suppor|
|00000240| 74 65 64 02 69 64 04 6e | 61 6d 65 00 00 00 08 42 |ted.id.n|ame....B|
|00000250| 61 72 43 68 61 72 74 04 | 70 61 74 68 00 00 00 50 |arChart.|path...P|
|00000260| 55 73 65 72 4c 61 6e 64 | 3a 50 72 6f 67 72 61 6d |UserLand|:Program|
|00000270| 6d 69 6e 67 3a 53 79 6d | 61 6e 74 65 63 20 43 2b |ming:Sym|antec C+|
|00000280| 2b 3a 46 72 6f 6e 74 69 | 65 72 20 53 44 4b 20 32 |+:Fronti|er SDK 2|
|00000290| 2e 31 3a 53 61 6d 70 6c | 65 20 43 6f 64 65 3a 42 |.1:Sampl|e Code:B|
|000002a0| 61 72 43 68 61 72 74 3a | 42 61 72 43 68 61 72 74 |arChart:|BarChart|
|000002b0| 0b 73 68 61 72 65 64 4d | 65 6e 75 73 00 01 00 00 |.sharedM|enus....|
|000002c0| 00 01 00 05 00 03 00 00 | 00 09 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 a4 f9 20 91 a8 3b |........|.... ..;|
|000002e0| 99 58 00 00 00 75 00 00 | 00 0a 00 00 00 06 5f 00 |.X...u..|......_.|
|000002f0| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 40 00 00 83 00 00 | 01 0c 02 26 00 00 00 00 |..@.....|...&....|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 11 00 11 00 11 | 00 11 00 11 00 51 01 2b |........|.....Q.+|
|00000340| 00 4b 04 66 61 73 74 00 | 00 03 39 00 01 03 e0 00 |.K.fast.|..9.....|
|00000350| 00 02 b1 00 00 00 14 00 | 00 00 00 0d 01 00 00 00 |........|........|
|00000360| 0c 00 00 01 79 0d 01 00 | 00 01 85 0b 67 65 74 42 |....y...|....getB|
|00000370| 61 72 56 61 6c 75 65 00 | 00 01 69 00 01 04 e0 00 |arValue.|..i.....|
|00000380| 02 00 00 00 78 00 00 00 | 75 00 00 02 00 00 0f 06 |....x...|u.......|
|00000390| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|000003c0| 00 a4 90 c9 95 a8 3b 8d | eb 00 00 00 2e 00 00 00 |......;.|........|
|000003d0| 96 00 5c 00 fa 01 c9 4c | 41 4e 44 00 00 00 00 00 |..\....L|AND.....|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 6f | 6e 20 67 65 74 42 61 72 |.......o|n getBar|
|00000400| 56 61 6c 75 65 20 28 6e | 29 20 c7 72 65 74 75 72 |Value (n|) .retur|
|00000410| 6e 73 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |ns the v|alue of |
|00000420| 74 68 65 20 69 6e 64 69 | 63 61 74 65 64 20 62 61 |the indi|cated ba|
|00000430| 72 0d 09 72 65 74 75 72 | 6e 20 28 73 79 73 74 65 |r..retur|n (syste|
|00000440| 6d 45 76 65 6e 74 20 28 | 27 62 61 72 63 27 2c 20 |mEvent (|'barc', |
|00000450| 27 67 76 61 6c 27 2c 20 | 27 2d 2d 2d 2d 27 2c 20 |'gval', |'----', |
|00000460| 73 68 6f 72 74 20 28 6e | 29 29 29 0d 80 00 00 00 |short (n|))).....|
|00000470| 00 00 80 00 00 00 00 6c | 00 00 00 00 00 08 00 01 |.......l|........|
|00000480| 00 08 00 00 00 00 00 00 | 21 0c 00 00 00 00 00 00 |........|!.......|
|00000490| 00 00 00 50 00 00 00 00 | 00 00 00 00 00 00 00 00 |...P....|........|
|000004a0| 00 00 00 00 00 00 00 3c | 00 68 40 80 00 00 00 00 |.......<|.h@.....|
|000004b0| 00 00 00 00 00 00 00 00 | 00 68 4b b6 00 00 00 00 |........|.hK.....|
|000004c0| 00 00 00 00 00 00 00 00 | 00 68 3f d8 00 68 41 08 |........|.h?..hA.|
|000004d0| 00 68 3e 90 00 68 39 ea | 00 00 00 00 00 00 00 00 |.h>..h9.|........|
|000004e0| 80 00 00 18 0b 73 65 74 | 42 61 72 56 61 6c 75 65 |.....set|BarValue|
|000004f0| 00 00 01 10 00 01 04 e0 | 00 02 00 00 00 0c 00 00 |........|........|
|00000500| 00 88 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |........|.Geneva.|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 06 54 | 00 00 a4 06 5b 7e a8 3b |.......T|....[~.;|
|00000540| 8d eb 00 00 00 4e 00 00 | 00 96 00 4a 00 fa 01 db |.....N..|...J....|
|00000550| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 6f 6e 20 73 65 74 42 61 | 72 56 61 6c 75 65 20 28 |on setBa|rValue (|
|00000580| 6e 2c 20 76 61 6c 75 65 | 29 20 c7 73 65 74 20 74 |n, value|) .set t|
|00000590| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|000005a0| 6e 74 68 20 62 61 72 0d | 09 72 65 74 75 72 6e 20 |nth bar.|.return |
|000005b0| 28 73 79 73 74 65 6d 45 | 76 65 6e 74 20 28 27 62 |(systemE|vent ('b|
|000005c0| 61 72 63 27 2c 20 27 73 | 76 61 6c 27 2c 20 27 2d |arc', 's|val', '-|
|000005d0| 2d 2d 2d 27 2c 20 73 68 | 6f 72 74 20 28 6e 29 2c |---', sh|ort (n),|
|000005e0| 20 27 76 62 61 72 27 2c | 20 6c 6f 6e 67 20 28 76 | 'vbar',| long (v|
|000005f0| 61 6c 75 65 29 29 29 0d | 80 00 00 00 00 00 80 00 |alue))).|........|
|00000600| 00 00 00 00 00 01 00 00 | 00 00 00 02 00 03 00 00 |........|........|
|00000610| 00 0c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 a6 ad e6 8d a8 3b | 99 59 00 00 00 08 00 00 |.......;|.Y......|
|00000630| 00 04 00 00 00 06 5f 00 | 07 43 68 69 63 61 67 6f |......_.|.Chicago|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 40 00 00 96 00 69 |........|..@....i|
|00000660| 00 fa 01 bc 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 15 00 15 00 5f |........|......._|
|00000680| 00 4a 00 4b 0b 67 65 74 | 42 61 72 43 6f 75 6e 74 |.J.K.get|BarCount|
|00000690| 00 00 01 6a 00 01 04 e0 | 00 02 00 00 00 78 00 00 |...j....|.....x..|
|000006a0| 00 76 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |.v......|.Geneva.|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 06 54 | 00 00 a4 90 c9 95 a8 3b |.......T|.......;|
|000006e0| 8d eb 00 00 00 2b 00 00 | 00 96 00 62 00 fa 01 c3 |.....+..|...b....|
|000006f0| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 6f 6e 20 67 65 74 42 61 | 72 43 6f 75 6e 74 20 28 |on getBa|rCount (|
|00000720| 29 20 c7 72 65 74 75 72 | 6e 73 20 74 68 65 20 6e |) .retur|ns the n|
|00000730| 75 6d 62 65 72 20 6f 66 | 20 62 61 72 73 20 69 6e |umber of| bars in|
|00000740| 20 74 68 65 20 74 61 72 | 67 65 74 20 77 69 6e 64 | the tar|get wind|
|00000750| 6f 77 0d 09 72 65 74 75 | 72 6e 20 28 61 70 70 6c |ow..retu|rn (appl|
|00000760| 65 45 76 65 6e 74 20 28 | 42 61 72 43 68 61 72 74 |eEvent (|BarChart|
|00000770| 2e 69 64 2c 20 27 42 41 | 52 43 27 2c 20 27 67 63 |.id, 'BA|RC', 'gc|
|00000780| 6e 74 27 29 29 0d 80 00 | 00 00 00 00 80 00 00 00 |nt'))...|........|
|00000790| 00 6c 00 00 00 00 00 08 | 00 01 00 08 00 00 00 00 |.l......|........|
|000007a0| 00 00 21 0c 00 00 00 00 | 00 00 00 00 00 50 00 00 |..!.....|.....P..|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 3c 00 68 40 80 00 00 | 00 00 00 00 00 00 00 00 |.<.h@...|........|
|000007d0| 00 00 00 68 4b b6 00 00 | 00 00 00 00 00 00 00 00 |...hK...|........|
|000007e0| 00 00 00 68 3f d8 00 68 | 41 08 00 68 3e 90 00 68 |...h?..h|A..h>..h|
|000007f0| 39 ea 00 00 00 00 00 00 | 00 00 80 00 00 18 0b 67 |9.......|.......g|
|00000800| 65 74 42 61 72 56 61 6c | 75 65 00 00 01 75 00 01 |etBarVal|ue...u..|
|00000810| 04 e0 00 02 00 00 00 78 | 00 00 00 81 00 00 02 00 |.......x|........|
|00000820| 00 0f 06 47 65 6e 65 76 | 61 00 00 00 00 00 00 00 |...Genev|a.......|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 09 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 06 54 00 00 a4 90 c9 95 | a8 3b 8d ec 00 00 00 2b |.T......|.;.....+|
|00000860| 00 00 00 96 00 5e 00 fa | 01 c7 4c 41 4e 44 00 00 |.....^..|..LAND..|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 6f 6e 20 67 65 74 |........|..on get|
|00000890| 42 61 72 56 61 6c 75 65 | 20 28 6e 29 20 c7 72 65 |BarValue| (n) .re|
|000008a0| 74 75 72 6e 73 20 74 68 | 65 20 76 61 6c 75 65 20 |turns th|e value |
|000008b0| 6f 66 20 74 68 65 20 69 | 6e 64 69 63 61 74 65 64 |of the i|ndicated|
|000008c0| 20 62 61 72 0d 09 72 65 | 74 75 72 6e 20 28 61 70 | bar..re|turn (ap|
|000008d0| 70 6c 65 45 76 65 6e 74 | 20 28 42 61 72 43 68 61 |pleEvent| (BarCha|
|000008e0| 72 74 2e 69 64 2c 20 27 | 42 41 52 43 27 2c 20 27 |rt.id, '|BARC', '|
|000008f0| 67 76 61 6c 27 2c 20 27 | 2d 2d 2d 2d 27 2c 20 73 |gval', '|----', s|
|00000900| 68 6f 72 74 20 28 6e 29 | 29 29 0d 80 00 00 00 00 |hort (n)|))......|
|00000910| 00 80 00 00 00 00 6c 00 | 00 00 00 00 08 00 01 00 |......l.|........|
|00000920| 08 00 00 00 00 00 00 21 | 0c 00 00 00 00 00 00 00 |.......!|........|
|00000930| 00 00 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..P.....|........|
|00000940| 00 00 00 00 00 00 3c 00 | 68 40 80 00 00 00 00 00 |......<.|h@......|
|00000950| 00 00 00 00 00 00 00 00 | 68 4b b6 00 00 00 00 00 |........|hK......|
|00000960| 00 00 00 00 00 00 00 00 | 68 3f d8 00 68 41 08 00 |........|h?..hA..|
|00000970| 68 3e 90 00 68 39 ea 00 | 00 00 00 00 00 00 00 80 |h>..h9..|........|
|00000980| 00 00 18 02 69 64 09 6e | 65 77 57 69 6e 64 6f 77 |....id.n|ewWindow|
|00000990| 00 00 01 6c 00 01 04 e0 | 00 02 00 00 00 24 00 00 |...l....|.....$..|
|000009a0| 00 cc 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |........|.Geneva.|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 06 54 | 00 00 a4 eb 8c 54 a8 3b |.......T|.....T.;|
|000009e0| 8d ec 00 00 00 1c 00 00 | 00 84 00 61 01 0b 01 c4 |........|...a....|
|000009f0| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 6f 6e 20 6e 65 77 57 69 | 6e 64 6f 77 20 28 63 74 |on newWi|ndow (ct|
|00000a20| 62 61 72 73 2c 20 74 69 | 74 6c 65 2c 20 75 6e 69 |bars, ti|tle, uni|
|00000a30| 74 73 29 20 c7 63 72 65 | 61 74 65 20 61 20 6e 65 |ts) .cre|ate a ne|
|00000a40| 77 20 42 61 72 43 68 61 | 72 74 20 77 69 6e 64 6f |w BarCha|rt windo|
|00000a50| 77 0d 09 69 66 20 6e 6f | 74 20 61 70 70 2e 6e 65 |w..if no|t app.ne|
|00000a60| 77 57 69 6e 64 6f 77 20 | 28 74 69 74 6c 65 29 0d |wWindow |(title).|
|00000a70| 09 09 72 65 74 75 72 6e | 20 28 66 61 6c 73 65 29 |..return| (false)|
|00000a80| 0d 09 69 66 20 6e 6f 74 | 20 42 61 72 43 68 61 72 |..if not| BarChar|
|00000a90| 74 2e 73 65 74 42 61 72 | 43 6f 75 6e 74 20 28 63 |t.setBar|Count (c|
|00000aa0| 74 62 61 72 73 29 0d 09 | 09 72 65 74 75 72 6e 20 |tbars)..|.return |
|00000ab0| 28 66 61 6c 73 65 29 0d | 09 72 65 74 75 72 6e 20 |(false).|.return |
|00000ac0| 28 42 61 72 43 68 61 72 | 74 2e 73 65 74 55 6e 69 |(BarChar|t.setUni|
|00000ad0| 74 73 20 28 75 6e 69 74 | 73 29 29 0d 80 00 00 00 |ts (unit|s)).....|
|00000ae0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000af0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000b00| 06 73 65 74 42 61 72 00 | 00 01 45 00 01 04 e0 00 |.setBar.|..E.....|
|00000b10| 02 00 00 00 0d 00 00 00 | bc 00 01 02 00 00 0f 06 |........|........|
|00000b20| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00000b50| 00 a4 06 5b 7e a8 3b 8d | ec 00 00 00 5d 00 00 00 |...[~.;.|....]...|
|00000b60| 96 00 00 00 fa 02 26 4c | 41 4e 44 00 00 00 00 00 |......&L|AND.....|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 6f | 6e 20 73 65 74 42 61 72 |.......o|n setBar|
|00000b90| 20 28 6e 2c 20 62 6c 61 | 62 65 6c 2c 20 62 76 61 | (n, bla|bel, bva|
|00000ba0| 6c 29 20 c7 73 65 74 20 | 74 68 65 20 6c 61 62 65 |l) .set |the labe|
|00000bb0| 6c 20 61 6e 64 20 76 61 | 6c 75 65 20 6f 66 20 6f |l and va|lue of o|
|00000bc0| 6e 65 20 6f 66 20 74 68 | 65 20 62 61 72 73 0d 09 |ne of th|e bars..|
|00000bd0| 72 65 74 75 72 6e 20 28 | 61 70 70 6c 65 45 76 65 |return (|appleEve|
|00000be0| 6e 74 20 28 42 61 72 43 | 68 61 72 74 2e 69 64 2c |nt (BarC|hart.id,|
|00000bf0| 20 27 42 41 52 43 27 2c | 20 27 73 62 61 72 27 2c | 'BARC',| 'sbar',|
|00000c00| 20 27 2d 2d 2d 2d 27 2c | 20 73 68 6f 72 74 20 28 | '----',| short (|
|00000c10| 6e 29 2c 20 27 6c 62 61 | 72 27 2c 20 73 74 72 69 |n), 'lba|r', stri|
|00000c20| 6e 67 20 28 62 6c 61 62 | 65 6c 29 2c 20 27 76 62 |ng (blab|el), 'vb|
|00000c30| 61 72 27 2c 20 6c 6f 6e | 67 20 28 62 76 61 6c 29 |ar', lon|g (bval)|
|00000c40| 29 29 0d 80 00 00 00 00 | 00 80 00 00 00 00 01 0c |))......|........|
|00000c50| 0b 73 65 74 42 61 72 43 | 6f 75 6e 74 00 00 01 19 |.setBarC|ount....|
|00000c60| 00 01 04 e0 00 02 00 00 | 00 0c 00 00 00 91 00 00 |........|........|
|00000c70| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 06 54 00 00 a4 91 | 07 2b a8 3b 8d ec 00 00 |...T....|.+.;....|
|00000cb0| 00 31 00 00 00 96 00 52 | 00 fa 01 d3 4c 41 4e 44 |.1.....R|....LAND|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 6f 6e 20 73 |........|....on s|
|00000ce0| 65 74 42 61 72 43 6f 75 | 6e 74 20 28 63 74 62 61 |etBarCou|nt (ctba|
|00000cf0| 72 73 29 20 c7 72 65 73 | 65 74 20 74 68 65 20 6e |rs) .res|et the n|
|00000d00| 75 6d 62 65 72 20 6f 66 | 20 62 61 72 73 20 66 72 |umber of| bars fr|
|00000d10| 6f 6e 74 6d 6f 73 74 20 | 42 43 20 77 69 6e 64 6f |ontmost |BC windo|
|00000d20| 77 0d 09 72 65 74 75 72 | 6e 20 28 61 70 70 6c 65 |w..retur|n (apple|
|00000d30| 45 76 65 6e 74 20 28 42 | 61 72 43 68 61 72 74 2e |Event (B|arChart.|
|00000d40| 69 64 2c 20 27 42 41 52 | 43 27 2c 20 27 73 63 6e |id, 'BAR|C', 'scn|
|00000d50| 74 27 2c 20 27 2d 2d 2d | 2d 27 2c 20 73 68 6f 72 |t', '---|-', shor|
|00000d60| 74 20 28 63 74 62 61 72 | 73 29 29 29 0d 80 00 00 |t (ctbar|s)))....|
|00000d70| 00 00 00 80 00 00 00 00 | 00 0b 73 65 74 42 61 72 |........|..setBar|
|00000d80| 4c 61 62 65 6c 00 00 01 | 1e 00 01 04 e0 00 02 00 |Label...|........|
|00000d90| 00 00 0c 00 00 00 96 00 | 00 02 00 00 0f 06 47 65 |........|......Ge|
|00000da0| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 09 00 00 00 00 00 00 00 | 00 00 00 06 54 00 00 a4 |........|....T...|
|00000dd0| 06 5b 7e a8 3b 8d ec 00 | 00 00 3e 00 00 00 96 00 |.[~.;...|..>.....|
|00000de0| 2e 00 fa 01 f7 4c 41 4e | 44 00 00 00 00 00 00 00 |.....LAN|D.......|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 6f 6e 20 | 73 65 74 42 61 72 4c 61 |.....on |setBarLa|
|00000e10| 62 65 6c 20 28 6e 2c 20 | 6c 61 62 65 6c 29 20 c7 |bel (n, |label) .|
|00000e20| 73 65 74 20 74 68 65 20 | 6c 61 62 65 6c 20 6f 66 |set the |label of|
|00000e30| 20 74 68 65 20 6e 74 68 | 20 62 61 72 0d 09 72 65 | the nth| bar..re|
|00000e40| 74 75 72 6e 20 28 61 70 | 70 6c 65 45 76 65 6e 74 |turn (ap|pleEvent|
|00000e50| 20 28 42 61 72 43 68 61 | 72 74 2e 69 64 2c 20 27 | (BarCha|rt.id, '|
|00000e60| 42 41 52 43 27 2c 20 27 | 73 6c 61 62 27 2c 20 27 |BARC', '|slab', '|
|00000e70| 2d 2d 2d 2d 27 2c 20 73 | 68 6f 72 74 20 28 6e 29 |----', s|hort (n)|
|00000e80| 2c 20 27 6c 62 61 72 27 | 2c 20 73 74 72 69 6e 67 |, 'lbar'|, string|
|00000e90| 20 28 6c 61 62 65 6c 29 | 29 29 0d 80 00 00 00 00 | (label)|))......|
|00000ea0| 00 80 00 00 00 00 00 0b | 73 65 74 42 61 72 56 61 |........|setBarVa|
|00000eb0| 6c 75 65 00 00 01 1c 00 | 01 04 e0 00 02 00 00 00 |lue.....|........|
|00000ec0| 0c 00 00 00 94 00 00 02 | 00 00 0f 06 47 65 6e 65 |........|....Gene|
|00000ed0| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 06 54 00 00 a4 06 5b |........|..T....[|
|00000f00| 7e a8 3b 8d ec 00 00 00 | 4a 00 00 00 96 00 2f 00 |~.;.....|J...../.|
|00000f10| fa 01 f6 4c 41 4e 44 00 | 00 00 00 00 00 00 00 00 |...LAND.|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 6f 6e 20 73 65 | 74 42 61 72 56 61 6c 75 |...on se|tBarValu|
|00000f40| 65 20 28 6e 2c 20 76 61 | 6c 75 65 29 20 c7 73 65 |e (n, va|lue) .se|
|00000f50| 74 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |t the va|lue of t|
|00000f60| 68 65 20 6e 74 68 20 62 | 61 72 0d 09 72 65 74 75 |he nth b|ar..retu|
|00000f70| 72 6e 20 28 61 70 70 6c | 65 45 76 65 6e 74 20 28 |rn (appl|eEvent (|
|00000f80| 42 61 72 43 68 61 72 74 | 2e 69 64 2c 20 27 42 41 |BarChart|.id, 'BA|
|00000f90| 52 43 27 2c 20 27 73 76 | 61 6c 27 2c 20 27 2d 2d |RC', 'sv|al', '--|
|00000fa0| 2d 2d 27 2c 20 73 68 6f | 72 74 20 28 6e 29 2c 20 |--', sho|rt (n), |
|00000fb0| 27 76 62 61 72 27 2c 20 | 6c 6f 6e 67 20 28 76 61 |'vbar', |long (va|
|00000fc0| 6c 75 65 29 29 29 0d 80 | 00 00 00 00 00 80 00 00 |lue)))..|........|
|00000fd0| 00 00 00 08 73 65 74 55 | 6e 69 74 73 00 00 01 1e |....setU|nits....|
|00000fe0| 00 01 04 e0 00 02 00 00 | 00 0c 00 00 00 96 00 00 |........|........|
|00000ff0| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 06 54 00 00 a4 90 | d9 7d a8 3b 8d ec 00 00 |...T....|.}.;....|
|00001030| 00 2c 00 00 00 96 00 55 | 00 fa 01 d1 4c 41 4e 44 |.,.....U|....LAND|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 6f 6e 20 73 |........|....on s|
|00001060| 65 74 55 6e 69 74 73 20 | 28 6c 61 62 65 6c 29 20 |etUnits |(label) |
|00001070| c7 74 68 69 73 20 73 74 | 72 69 6e 67 20 69 73 20 |.this st|ring is |
|00001080| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 65 6e 64 |added to| the end|
|00001090| 20 6f 66 20 65 76 65 72 | 79 20 62 61 72 20 76 61 | of ever|y bar va|
|000010a0| 6c 75 65 20 20 20 0d 09 | 72 65 74 75 72 6e 20 28 |lue ..|return (|
|000010b0| 61 70 70 6c 65 45 76 65 | 6e 74 20 28 42 61 72 43 |appleEve|nt (BarC|
|000010c0| 68 61 72 74 2e 69 64 2c | 20 27 42 41 52 43 27 2c |hart.id,| 'BARC',|
|000010d0| 20 27 73 75 6e 74 27 2c | 20 27 2d 2d 2d 2d 27 2c | 'sunt',| '----',|
|000010e0| 20 73 74 72 69 6e 67 20 | 28 6c 61 62 65 6c 29 29 | string |(label))|
|000010f0| 29 0d 80 00 00 00 00 00 | 80 00 00 00 00 00 06 75 |).......|.......u|
|00001100| 70 64 61 74 65 00 00 00 | e4 00 01 04 e0 00 02 00 |pdate...|........|
|00001110| 00 00 0d 00 00 00 5b 00 | 00 02 00 00 0f 06 47 65 |......[.|......Ge|
|00001120| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 09 00 00 00 00 00 00 00 | 00 00 00 06 54 00 00 a4 |........|....T...|
|00001150| 06 5b 7e a8 3b 99 5a 00 | 00 00 60 00 00 00 96 00 |.[~.;.Z.|..`.....|
|00001160| 7d 00 fa 01 a9 4c 41 4e | 44 00 00 00 00 00 00 00 |}....LAN|D.......|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 6f 6e 20 | 75 70 64 61 74 65 20 28 |.....on |update (|
|00001190| 29 20 c7 72 65 66 72 65 | 73 68 20 74 68 65 20 74 |) .refre|sh the t|
|000011a0| 61 72 67 65 74 20 77 69 | 6e 64 6f 77 0d 09 72 65 |arget wi|ndow..re|
|000011b0| 74 75 72 6e 20 28 61 70 | 70 6c 65 45 76 65 6e 74 |turn (ap|pleEvent|
|000011c0| 20 28 42 61 72 43 68 61 | 72 74 2e 69 64 2c 20 27 | (BarCha|rt.id, '|
|000011d0| 42 41 52 43 27 2c 20 27 | 75 70 64 74 27 29 29 0d |BARC', '|updt')).|
|000011e0| 80 00 00 00 00 00 80 00 | 00 00 00 01 0c 0c 76 6f |........|......vo|
|000011f0| 6c 75 6d 65 52 65 70 6f | 72 74 00 00 03 a7 00 01 |lumeRepo|rt......|
|00001200| 04 e0 00 02 00 00 00 5a | 00 00 02 d1 00 00 02 00 |.......Z|........|
|00001210| 00 0f 06 47 65 6e 65 76 | 61 00 00 00 00 00 00 00 |...Genev|a.......|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 09 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 06 54 00 00 a4 90 e7 76 | a8 3b 8d ec 00 00 00 42 |.T.....v|.;.....B|
|00001250| 00 00 00 41 00 44 01 4f | 01 e1 4c 41 4e 44 00 00 |...A.D.O|..LAND..|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 6f 6e 20 76 6f 6c |........|..on vol|
|00001280| 75 6d 65 52 65 70 6f 72 | 74 20 28 77 69 6e 64 6f |umeRepor|t (windo|
|00001290| 77 74 69 74 6c 65 2c 20 | 75 6e 69 74 73 2c 20 63 |wtitle, |units, c|
|000012a0| 61 6c 6c 62 61 63 6b 29 | 20 c7 63 72 65 61 74 65 |allback)| .create|
|000012b0| 73 20 61 20 76 6f 6c 75 | 6d 65 20 72 65 70 6f 72 |s a volu|me repor|
|000012c0| 74 20 77 69 6e 64 6f 77 | 0d 09 63 72 65 61 74 65 |t window|..create|
|000012d0| 73 20 61 20 6e 65 77 20 | 42 61 72 43 68 61 72 74 |s a new |BarChart|
|000012e0| 20 77 69 6e 64 6f 77 20 | 77 69 74 68 20 74 68 65 | window |with the|
|000012f0| 20 69 6e 64 69 63 61 74 | 65 64 20 74 69 74 6c 65 | indicat|ed title|
|00001300| 0d 09 09 6c 6f 6f 70 73 | 20 6f 76 65 72 20 61 6c |...loops| over al|
|00001310| 6c 20 74 68 65 20 6d 6f | 75 6e 74 65 64 20 64 69 |l the mo|unted di|
|00001320| 73 6b 20 76 6f 6c 75 6d | 65 73 2c 20 61 6e 64 20 |sk volum|es, and |
|00001330| 63 61 6c 6c 73 20 62 61 | 63 6b 20 77 69 74 68 20 |calls ba|ck with |
|00001340| 61 20 6e 61 6d 65 0d 09 | 09 74 68 65 20 63 61 6c |a name..|.the cal|
|00001350| 6c 62 61 63 6b 20 72 6f | 75 74 69 6e 65 20 72 65 |lback ro|utine re|
|00001360| 74 75 72 6e 73 20 61 20 | 76 61 6c 75 65 20 74 6f |turns a |value to|
|00001370| 20 62 65 20 64 69 73 70 | 6c 61 79 65 64 20 69 6e | be disp|layed in|
|00001380| 20 74 68 65 20 62 61 72 | 0d 09 09 75 6e 69 74 73 | the bar|...units|
|00001390| 20 69 73 20 77 68 61 74 | 27 73 20 64 69 73 70 6c | is what|'s displ|
|000013a0| 61 79 65 64 20 6e 65 78 | 74 20 74 6f 20 65 61 63 |ayed nex|t to eac|
|000013b0| 68 20 76 61 6c 75 65 0d | 09 69 66 20 6e 6f 74 20 |h value.|.if not |
|000013c0| 61 70 70 2e 73 74 61 72 | 74 20 28 40 42 61 72 43 |app.star|t (@BarC|
|000013d0| 68 61 72 74 29 0d 09 09 | 72 65 74 75 72 6e 20 28 |hart)...|return (|
|000013e0| 66 61 6c 73 65 29 0d 09 | 63 74 62 61 72 73 20 3d |false)..|ctbars =|
|000013f0| 20 66 69 6c 65 2e 63 6f | 75 6e 74 56 6f 6c 75 6d | file.co|untVolum|
|00001400| 65 73 20 28 29 0d 09 69 | 66 20 61 70 70 2e 73 65 |es ()..i|f app.se|
|00001410| 6c 65 63 74 57 69 6e 64 | 6f 77 20 28 77 69 6e 64 |lectWind|ow (wind|
|00001420| 6f 77 74 69 74 6c 65 29 | 20 c7 61 6c 72 65 61 64 |owtitle)| .alread|
|00001430| 79 20 68 61 73 20 61 20 | 77 69 6e 64 6f 77 20 77 |y has a |window w|
|00001440| 69 74 68 20 74 68 69 73 | 20 74 69 74 6c 65 0d 09 |ith this| title..|
|00001450| 09 42 61 72 43 68 61 72 | 74 2e 73 65 74 42 61 72 |.BarChar|t.setBar|
|00001460| 43 6f 75 6e 74 20 28 63 | 74 62 61 72 73 29 0d 09 |Count (c|tbars)..|
|00001470| 65 6c 73 65 0d 09 09 42 | 61 72 43 68 61 72 74 2e |else...B|arChart.|
|00001480| 6e 65 77 57 69 6e 64 6f | 77 20 28 63 74 62 61 72 |newWindo|w (ctbar|
|00001490| 73 2c 20 77 69 6e 64 6f | 77 74 69 74 6c 65 2c 20 |s, windo|wtitle, |
|000014a0| 75 6e 69 74 73 29 0d 09 | 63 74 20 3d 20 31 20 c7 |units)..|ct = 1 .|
|000014b0| 73 74 61 72 74 20 62 79 | 20 73 65 74 74 69 6e 67 |start by| setting|
|000014c0| 20 74 68 65 20 66 69 72 | 73 74 20 62 61 72 27 73 | the fir|st bar's|
|000014d0| 20 76 61 6c 75 65 20 61 | 6e 64 20 6c 61 62 65 6c | value a|nd label|
|000014e0| 0d 09 66 69 6c 65 6c 6f | 6f 70 20 28 66 6e 61 6d |..filelo|op (fnam|
|000014f0| 65 20 69 6e 20 22 22 29 | 20 c7 67 6f 20 74 68 72 |e in "")| .go thr|
|00001500| 75 20 61 6c 6c 20 74 68 | 65 20 6d 6f 75 6e 74 65 |u all th|e mounte|
|00001510| 64 20 64 69 73 6b 73 0d | 09 09 42 61 72 43 68 61 |d disks.|..BarCha|
|00001520| 72 74 2e 73 65 74 42 61 | 72 20 28 63 74 2b 2b 2c |rt.setBa|r (ct++,|
|00001530| 20 66 6e 61 6d 65 2c 20 | 63 61 6c 6c 62 61 63 6b | fname, |callback|
|00001540| 5e 20 28 66 6e 61 6d 65 | 29 29 0d 80 00 00 00 00 |^ (fname|))......|
|00001550| 00 84 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001560| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00001570| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00001580| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001590| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000015a0| 00 00 00 00 00 00 01 00 | 00 00 00 00 0e 00 03 00 |........|........|
|000015b0| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 a4 06 5b 74 a8 | 3b 99 5a 00 00 01 a0 00 |.....[t.|;.Z.....|
|000015d0| 00 00 1c 00 00 00 06 5f | 00 07 43 68 69 63 61 67 |......._|..Chicag|
|000015e0| 6f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 40 00 00 26 00 |........|...@..&.|
|00001600| 63 01 84 01 c2 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 15 00 15 00 |........|........|
|00001620| 15 00 15 00 15 00 15 00 | 15 00 15 00 15 00 15 00 |........|........|
|00001630| 15 00 15 00 15 00 15 00 | 6b 00 4a 00 4b |........|k.J.K |
+--------+-------------------------+-------------------------+--------+--------+